package Test;
import junit.framework.*;
/**
 *
 * @author DEA
 */
public class BolaTest extends TestCase {
   public BolaTest(String name) {
       super(name);     
   } 
   
   @Test public void testSimple() {
       assertEquals(452.16, Bola.HitungLuasPermukaan(6), 0.001);
       assertEquals(1256, Bola.HitungLuasPermukaan(10));
       assertEquals(73584.85333333333, Bola.HitungVolume(26), 0.001);
       assertEquals(0, Bola.HitungVolume(0));
   }
    
}
